package zzs.generalframework.common.core.parameter.commonparameter.department;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import zzs.generalframework.common.core.BasePO;

/**
 * 
 * @title
 * @description
 * @project zzs-common
 * @package zzs.generalframework.common.core.parameter.commonparameter.department
 * @author zzs
 * @date 2018年1月31日
 * @version 1.0
 */
@Entity
@Table(name = "T_PAR_DEPARTMENT")
public class DepartmentPO extends BasePO
{
	@Id
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "T_PAR_DEPARTMENT_ID_GENERATOR")
	@TableGenerator(name = "T_PAR_DEPARTMENT_ID_GENERATOR", table = "TABLE_ID_GENERATOR", pkColumnName = "GENERATOR_NAME", pkColumnValue = "PARDEPARTMENT_PK", valueColumnName = "GENERATOR_VALUE", allocationSize = 20)
	@Column(name = "SEQ_ID", unique = true, nullable = false)
	private Long seqID;

	/**
	 * 部门ID
	 */
	@Column(name = "DEPARTMENT_ID")
	private String departmentID;

	/**
	 * 部门编号
	 */
	@Column(name = "DEPARTMENT_CODE")
	private String departmentCode;

	/**
	 * 部门名称
	 */
	@Column(name = "DEPARTMENT_NAME")
	private String departmentName;

	/**
	 * 部门描述
	 */
	@Column(name = "DEPARTMENT_DESC")
	private String departmentDesc;

	/**
	 * 排序
	 */
	@Column(name = "ORDER_NUMBER")
	private String orderNumber;

	/**
	 * 记录状态
	 */
	@Column(name = "RECORD_STATUS")
	private String recordStatus;

	public Long getSeqID()
	{
		return seqID;
	}

	public void setSeqID(Long seqID)
	{
		this.seqID = seqID;
	}

	public String getDepartmentID()
	{
		return departmentID;
	}

	public void setDepartmentID(String departmentID)
	{
		this.departmentID = departmentID;
	}

	public String getDepartmentCode()
	{
		return departmentCode;
	}

	public void setDepartmentCode(String departmentCode)
	{
		this.departmentCode = departmentCode;
	}

	public String getDepartmentName()
	{
		return departmentName;
	}

	public void setDepartmentName(String departmentName)
	{
		this.departmentName = departmentName;
	}

	public String getDepartmentDesc()
	{
		return departmentDesc;
	}

	public void setDepartmentDesc(String departmentDesc)
	{
		this.departmentDesc = departmentDesc;
	}

	public String getOrderNumber()
	{
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber)
	{
		this.orderNumber = orderNumber;
	}

	public String getRecordStatus()
	{
		return recordStatus;
	}

	public void setRecordStatus(String recordStatus)
	{
		this.recordStatus = recordStatus;
	}

}
